package number;

import java.util.ArrayList;

public class Input {

    private static int number_1a;
    private static int number_1b;

    private static int number_2a ;
    private static int number_2b;
    static SetNumber sn = new SetNumber();

    public static void setN(){
        int[] num = new int[4];
        //加载其他数值
        Other other = new Other();
        other.setArrayList(SetNumber.getList());
        num = sn.getNumber();
        number_1a = num[0];
        number_1b = num[1];
        number_2a = num[2];
        number_2b = num[3];
        System.out.println("初始化完成");
    }

    public static int getNumber_1a() {
        return number_1a;
    }

    public static void setNumber_1a(int number_1a) {
        Input.number_1a = number_1a;
    }

    public static int getNumber_1b() {
        return number_1b;
    }

    public static void setNumber_1b(int number_1b) {
        Input.number_1b = number_1b;
    }

    public static int getNumber_2a() {
        return number_2a;
    }

    public static void setNumber_2a(int number_2a) {
        Input.number_2a = number_2a;
    }

    public static int getNumber_2b() {
        return number_2b;
    }

    public static void setNumber_2b(int number_2b) {
        Input.number_2b = number_2b;
    }

}
